const { merge } = require("webpack-merge");
const common = require('./webpack.config.js');

module.exports = merge(common, {
  mode: "development",
  devtool: 'inline-source-map',
  devServer: {
    historyApiFallback: true,
    port: 3000,
    hot: true, // hot module replacement. Depends on HotModuleReplacementPlugin
    watchFiles: ['../src/**/*'],
  },
})
